﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Kovan.Library.Cache
{
    public enum CacheType
    {
        /// <summary>
        /// 不用缓存
        /// </summary>
        None,
        /// <summary>
        /// 
        /// </summary>
        Session,

        /// <summary>
        /// 
        /// </summary>
        Cache,

        /// <summary>
        /// 
        /// </summary>
        Memcached,

        /// <summary>
        /// 
        /// </summary>
        File,

        /// <summary>
        /// 
        /// </summary>
        Redis
    }

    public enum TimeOutType
    {
        /// <summary>
        /// 绝对过期
        /// </summary>
        Sliding,
        /// <summary>
        /// 相对过期
        /// </summary>
        Absolute
    }
}
